package com.crm.model.entity.customerManager;

import java.util.Date;

public class CustomerRelation {
    private String customerRelationId;

    private Integer relationType;

    private String relationName;

    private String unifiedSocialCreditCode;

    private Integer inspectionType;

    private String createPeopleId;

    private Date createTm;

    private String updatePeopleId;

    private Date updateTm;

    private Short deleteStatus;

    private String customerId;

    private String companyId;

    private Date violationTm;

    public CustomerRelation(String customerRelationId, Integer relationType, String relationName, String unifiedSocialCreditCode, Integer inspectionType, String createPeopleId, Date createTm, String updatePeopleId, Date updateTm, Short deleteStatus, String customerId, String companyId, Date violationTm) {
        this.customerRelationId = customerRelationId;
        this.relationType = relationType;
        this.relationName = relationName;
        this.unifiedSocialCreditCode = unifiedSocialCreditCode;
        this.inspectionType = inspectionType;
        this.createPeopleId = createPeopleId;
        this.createTm = createTm;
        this.updatePeopleId = updatePeopleId;
        this.updateTm = updateTm;
        this.deleteStatus = deleteStatus;
        this.customerId = customerId;
        this.companyId = companyId;
        this.violationTm = violationTm;
    }

    public CustomerRelation() {
        super();
    }

    public String getCustomerRelationId() {
        return customerRelationId;
    }

    public void setCustomerRelationId(String customerRelationId) {
        this.customerRelationId = customerRelationId == null ? null : customerRelationId.trim();
    }

    public Integer getRelationType() {
        return relationType;
    }

    public void setRelationType(Integer relationType) {
        this.relationType = relationType;
    }

    public String getRelationName() {
        return relationName;
    }

    public void setRelationName(String relationName) {
        this.relationName = relationName == null ? null : relationName.trim();
    }

    public String getUnifiedSocialCreditCode() {
        return unifiedSocialCreditCode;
    }

    public void setUnifiedSocialCreditCode(String unifiedSocialCreditCode) {
        this.unifiedSocialCreditCode = unifiedSocialCreditCode == null ? null : unifiedSocialCreditCode.trim();
    }

    public Integer getInspectionType() {
        return inspectionType;
    }

    public void setInspectionType(Integer inspectionType) {
        this.inspectionType = inspectionType;
    }

    public String getCreatePeopleId() {
        return createPeopleId;
    }

    public void setCreatePeopleId(String createPeopleId) {
        this.createPeopleId = createPeopleId == null ? null : createPeopleId.trim();
    }

    public Date getCreateTm() {
        return createTm;
    }

    public void setCreateTm(Date createTm) {
        this.createTm = createTm;
    }

    public String getUpdatePeopleId() {
        return updatePeopleId;
    }

    public void setUpdatePeopleId(String updatePeopleId) {
        this.updatePeopleId = updatePeopleId == null ? null : updatePeopleId.trim();
    }

    public Date getUpdateTm() {
        return updateTm;
    }

    public void setUpdateTm(Date updateTm) {
        this.updateTm = updateTm;
    }

    public Short getDeleteStatus() {
        return deleteStatus;
    }

    public void setDeleteStatus(Short deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId == null ? null : customerId.trim();
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId == null ? null : companyId.trim();
    }

    public Date getViolationTm() {
        return violationTm;
    }

    public void setViolationTm(Date violationTm) {
        this.violationTm = violationTm;
    }
}